[bits 32]
section .text

extern main

extern _fini
extern _init
extern __libc_start_main

global _start

_start:
    xor ebp, ebp

    pop esi
    mov ecx, esp

    and esp, -16
    push esp
    push edx
    push _fini
    push _init
    push ecx
    push esi
    push main

    call __libc_start_main